pattern questions in interview